package com.tsingtree.modular.model.result;

import com.tsingtree.modular.enums.SceneTypeEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 玩法
 * </p>
 *
 * @author jagger
 * @since 2023-08-30
 */
@Data
public class NanSceneResult implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer id;

    private Date createTime;

    private Date updateTime;

    private Integer version;

    private String img;

    private String nickName;

    private String name;

    private String orderCode;
    private String closeCode;

    private Integer type;

    private String typeStr;
    private String imgSel;

    public String getTypeStr() {
        return SceneTypeEnum.getAll().get(type);
    }
}
